//
//  KKChatEmoticonView.h
//  ILiveDemo
//
//  Created by liaozhenming on 2017/4/5.
//  Copyright © 2017年 liaozhenming. All rights reserved.
//
//  表情
#import <UIKit/UIKit.h>

typedef void(^KKChatEmoticonViewDidSelectedHandle)(NSInteger image_index, UIImage *image);
typedef void(^KKChatEmoticonViewDidSendHandle)(void);
typedef void(^KKChatEmoticonViewDidDeleteHandle)(void);

//  静态图片视图
@interface KKChatEmoticonView : UIView

+ (instancetype)kk_chatEmoticonViewWithItems:(NSArray*)items;

@property (nonatomic, strong) KKChatEmoticonViewDidSelectedHandle didSelectedHandle;
@property (nonatomic, strong) KKChatEmoticonViewDidSendHandle didSendHandle;
@property (nonatomic, strong) KKChatEmoticonViewDidDeleteHandle didDeleteHandle;

- (void)kk_reloadData;


@end


typedef void(^KKCHatGifEmoticonViewDidSelectedHandle)(NSInteger image_index, NSString *imageName);
//  动态图片视图
@interface KKCHatGifEmoticonView : UIView

+ (instancetype)kk_chatGifEmoticonViewWithItems:(NSArray*)items;

@property (nonatomic, strong) KKCHatGifEmoticonViewDidSelectedHandle didSelectedHandle;

- (void)kk_reloadData;

@end
